home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 3239 / 3239.xpi / chrome / inbasicph.jar / content / Options.xul < prev    next >
Extensible Markup Language  |  2009-06-19  |  14KB  |  299 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="chrome://inbasicph/skin/styles/OptionsWindow.css" type="text/css"?>
  3.  
  4. <!DOCTYPE prefwindow [
  5. <!ENTITY % OptionsDTD SYSTEM "chrome://inbasicph/locale/Options.dtd" >%OptionsDTD;
  6. <!ENTITY % StatusbarDTD SYSTEM "chrome://inbasicph/locale/Statusbar.dtd" >%StatusbarDTD;
  7.  ]>
  8.  
  9. <prefwindow id="PhOption" title="&InBasic.Ph.Option.Title;"
  10.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  11.   buttons="cancel, accept, extra1"
  12.   buttonlabelextra1="&InBasic.Ph.Option.Apply;"
  13.   ondialogextra1="PhProxy_options.apply();"
  14.   onload="PhProxy_options.initilize();"
  15.   autostretch="always"
  16.   minheight="490">
  17.  
  18.   <prefpane id="proxySetup" flex="1" label="&InBasic.Ph.Option.Tab1.Title;">
  19.     <notificationbox flex="1" id="notProxySetup">
  20.       <preferences/>
  21.       <groupbox>
  22.         <caption label="&InBasic.Ph.Option.Tab1.lbl3;"/>
  23.         <vbox align="center">
  24.           <label id="Ph.Option.Tab1.Tab1.lblURL" class="serverfont"/>
  25.           <label id="Ph.Option.Tab1.Tab1.lblType" class="serverfont"/>
  26.         </vbox>
  27.         <separator/>
  28.         <hbox>
  29.           <textbox flex="1" id="PhtxtURL" onfocus="PhProxy_options.address_textbox.onfocus(value)" oninput="PhProxy_options.address_textbox.onchange();" onblur= "PhProxy_options.address_textbox.onblure(value);"/>
  30.           <menulist id='Ph.Option.Tab1.Tab1.pop'>
  31.             <menupopup>
  32.               <menuitem label="0.5b2" value="1" tooltip="tPhProxy2"/>
  33.               <menuitem label="0.4" value="0" tooltip="tPhProxy1"/>
  34.               <menuitem label="Glype1" value="2" tooltip="tGlype1"/>
  35.               <menuitem label="Glype2" value="3" tooltip="tGlype2"/>
  36.             </menupopup>
  37.           </menulist>
  38.           <tooltip id="tPhProxy1" orient="vertical">
  39.             <label value="0.4"/>
  40.             <hbox>
  41.               <label value="http://PhProxyServer.com/index.php?q=d3d3Lmdvb2dsZS5jb20" class="cred"/>
  42.               <label value="-&hl=1111101001" class="fwcred"/>
  43.             </hbox>
  44.           </tooltip>
  45.           <tooltip id="tPhProxy2" orient="vertical">
  46.             <label value="0.5b2"/>
  47.             <hbox>
  48.               <label value="http://PhProxyServer.com/index.php?q=d3d3Lmdvb2dsZS5jb20" class="cred"/>
  49.               <label value="=3ed" class="fwcred"/>
  50.             </hbox>
  51.           </tooltip>
  52.           <tooltip id="tGlype1" orient="vertical">
  53.             <label value="Glype1"/>
  54.             <hbox>
  55.               <label value="http://GlypeServer.com/browse." class="cred"/>
  56.               <label value="php/" class="fwcred"/>
  57.               <label value="Oi8vd3d3Lmdvb/2dsZS5jb20_3D/b109/" class="cred"/>
  58.             </hbox>
  59.           </tooltip>
  60.           <tooltip id="tGlype2" orient="vertical">
  61.             <label value="Glype1"/>
  62.             <hbox>
  63.               <label value="http://GlypeServer.com/browse." class="cred"/>
  64.               <label value="php?u=" class="fwcred"/>
  65.               <label value="Oi8vd3d3Lmdvb2dsZS5jb20%3D&b=189" class="cred"/>
  66.             </hbox>
  67.           </tooltip>
  68.         </hbox>
  69.         <separator class="thin"/>
  70.         <hbox>
  71.           <menulist id="menuID" oncommand="PhProxy_options.change_default_server(label, value); PhProxy_options.address_textbox.onchange();">
  72.             <menupopup>
  73.               <menuitem id='menu01' label='&InBasic.Ph.Option.Tab1.lbl10;'/>
  74.               <menuitem id='menu02'/>
  75.               <menuitem id='menu03'/>
  76.               <menuitem id='menu04'/>
  77.               <menuitem id='menu05'/>
  78.               <menuitem id='menu06'/>
  79.               <menuitem id='menu07'/>
  80.               <menuitem id='menu08'/>
  81.             </menupopup>
  82.           </menulist>
  83.         </hbox>
  84.         <separator class="thin"/>
  85.         <hbox pack="end">
  86.           <button label="&InBasic.Ph.Option.Tab1.lbl11;" oncommand="PhProxy_options.restore_default_server(); PhProxy_options.address_textbox.onchange();"/>
  87.         </hbox>
  88.         <separator flex="1"/>
  89.         <groupbox>
  90.           <caption label="&InBasic.Ph.Option.Tab1.lbl14;"/>
  91.           <grid>
  92.             <columns>
  93.               <column/>
  94.               <column/>
  95.             </columns>
  96.             <rows>
  97.               <row>
  98.                 <label value="&InBasic.Ph.Option.Tab1.lbl16;"/>
  99.                 <label id="Ph.Option.Tab1.Tab2.lbl" value=""/>
  100.               </row>
  101.               <row>
  102.                 <label id="Ph.Option.Tab1.Tab2.server1" value="&InBasic.Ph.Option.Tab1.lbl15;"/>
  103.                 <label value="PhProxy 0.4"/>
  104.               </row>
  105.               <row>
  106.                 <label id="Ph.Option.Tab1.Tab2.server2" value="&InBasic.Ph.Option.Tab1.lbl15;"/>
  107.                 <label value="PhProxy 0.5b2"/>
  108.               </row>
  109.             </rows>
  110.           </grid>
  111.           <hbox pack="end">
  112.             <button id="Ph.Option.Tab1.Tab2.button1" label="&InBasic.Ph.Option.Tab1.lbl18;" disabled="true" oncommand="PhProxy_options.suggesting_server()"/>
  113.             <button label="&InBasic.Ph.Option.Tab1.lbl17;" oncommand="PhProxy_options.test_server()"/>
  114.           </hbox>
  115.         </groupbox>
  116.         <separator flex="1"/>
  117.         <vbox align="center">
  118.           <label value="&InBasic.Ph.Option.Tab1.lbl6;" class="colorfont"/>
  119.           <label value="PHProxy 0.4 ┬⌐ 2005 | PHProxy 0.5b2 ┬⌐ 2007 | Glype ┬⌐ 2008" class="colorfont"/>
  120.         </vbox>
  121.       </groupbox>
  122.     </notificationbox>
  123.   </prefpane>
  124.   <prefpane id="controllers" flex="1" label="&InBasic.Ph.Option.Tab2.Title;">
  125.     <preferences/>
  126.     <vbox>
  127.       <groupbox>
  128.         <caption label="&InBasic.Ph.Option.Tab2.lbl18;"/>
  129.         <hbox align="center">
  130.           <label value="&InBasic.Ph.Option.Tab2.lbl23;"/>
  131.           <radiogroup id="Ph.Option.Tab2.Radio2" orient="horizontal">
  132.             <radio label="&InBasic.Ph.Option.Tab2.lbl26;" />
  133.             <radio label="&InBasic.Ph.Option.Tab2.lbl24;" />
  134.             <radio label="&InBasic.Ph.Option.Tab2.lbl25;" />
  135.           </radiogroup>
  136.         </hbox>
  137.         <hbox align="center">
  138.           <label value="&InBasic.Ph.Option.Tab2.lbl19;"/>
  139.           <radiogroup id="Ph.Option.Tab2.Radio1" orient="horizontal">
  140.             <radio label="&InBasic.Ph.Option.Tab2.lbl20;" onclick="PhProxy_options.change_addressbar_icon('0')"/>
  141.             <radio label="&InBasic.Ph.Option.Tab2.lbl21;" onclick="PhProxy_options.change_addressbar_icon('1')"/>
  142.             <radio label="&InBasic.Ph.Option.Tab2.lbl22;" onclick="PhProxy_options.change_addressbar_icon('2')"/>
  143.           </radiogroup>
  144.         </hbox>
  145.       </groupbox>
  146.     </vbox>
  147.     <tabbox flex="1">
  148.       <tabs>
  149.         <tab label="PhProxy"/>
  150.         <tab label="Glype"/>
  151.       </tabs>
  152.       <tabpanels>
  153.         <tabpanel orient="vertical">
  154.           <checkbox id="Ph.Option.Tab2.Check1" label="&InBasic.Ph.Option.Tab2.lbl5;"/>
  155.           <checkbox id="Ph.Option.Tab2.Check4" label="&InBasic.Ph.Option.Tab2.lbl6;"/>
  156.           <checkbox id="Ph.Option.Tab2.Check7" label="&InBasic.Ph.Option.Tab2.lbl7;"/>
  157.           <checkbox id="Ph.Option.Tab2.Check15" label="&InBasic.Ph.Option.Tab2.lbl15;"/>
  158.           <checkbox id="Ph.Option.Tab2.Check5" label="&InBasic.Ph.Option.Tab2.lbl12;"/>
  159.           <checkbox id="Ph.Option.Tab2.Check2" label="&InBasic.Ph.Option.Tab2.lbl8;"/>
  160.           <checkbox id="Ph.Option.Tab2.Check3" label="&InBasic.Ph.Option.Tab2.lbl9;"/>
  161.           <checkbox id="Ph.Option.Tab2.Check6" label="&InBasic.Ph.Option.Tab2.lbl10;"/>
  162.           <checkbox id="Ph.Option.Tab2.Check8" label="&InBasic.Ph.Option.Tab2.lbl11;"/>
  163.           <separator class="thin"/>
  164.           <hbox pack="end">
  165.             <button label="&InBasic.Ph.Option.Tab2.lbl13;" oncommand="PhProxy_options.restore_default_controllers();"/>
  166.           </hbox>
  167.         </tabpanel>
  168.         <tabpanel orient="vertical">
  169.           <box align="center" pack="center" flex="1">
  170.             <label value="&InBasic.Ph.Option.Tab2.lbl16;"/>
  171.           </box>
  172.         </tabpanel>
  173.       </tabpanels>
  174.     </tabbox>
  175.   </prefpane>
  176.   <prefpane id="serverUpdating" flex="1" label="&InBasic.Ph.Option.Tab3.Title;">
  177.     <notificationbox flex="1" id="notServerUpdating">
  178.       <preferences/>
  179.       <groupbox>
  180.         <caption label="&InBasic.Ph.Option.Tab3.lbl1;"/>
  181.         <vbox flex="1">
  182.           <hbox align="center">
  183.             <label value="&InBasic.Ph.Option.Tab3.lbl2;"/>
  184.             <textbox id="Ph.Option.Tab3.txt" flex="1"/>
  185.             <menulist id='Ph.Option.Tab3.lst'>
  186.               <menupopup>
  187.                 <menuitem label="0.5b2" value="1"/>
  188.                 <menuitem label="0.4" value="0"/>
  189.                 <menuitem label="Glype1" value="2"/>
  190.                 <menuitem label="Glype2" value="3"/>
  191.               </menupopup>
  192.             </menulist>
  193.           </hbox>
  194.           <separator class="thin"/>
  195.           <hbox pack="end">
  196.             <button label="&InBasic.Ph.Option.Tab3.lbl4;" oncommand="PhProxy_options.edit_one_server();"/>
  197.             <button label="&InBasic.Ph.Option.Tab3.lbl9;" oncommand="PhProxy_options.delete_one_server();"/>
  198.           </hbox>
  199.           <separator class="thin"/>
  200.         </vbox>
  201.         <hbox flex="1">
  202.           <listbox flex="1" id="Ph.Option.Tab3.List" rows="10">
  203.             <listcols>
  204.               <listcol flex="1"/>
  205.               <splitter class="tree-splitter"/>
  206.               <listcol flex="1"/>
  207.             </listcols>
  208.             <listhead flex="1">
  209.               <listheader label="URL"/>
  210.               <listheader label="Type"/>
  211.             </listhead>
  212.             <listitem id='Ph.Option.Tab3.lst1'>
  213.               <listcell  label="&InBasic.Ph.Option.Tab3.lbl5;"/>
  214.               <listcell label="0.5b2"/>
  215.             </listitem>
  216.             <listitem id='Ph.Option.Tab3.lst2'>
  217.               <listcell label="&InBasic.Ph.Option.Tab3.lbl5;"/>
  218.               <listcell label="0.5b2"/>
  219.             </listitem>
  220.             <listitem id='Ph.Option.Tab3.lst3'>
  221.               <listcell label="&InBasic.Ph.Option.Tab3.lbl5;"/>
  222.               <listcell label="0.5b2"/>
  223.             </listitem>
  224.             <listitem id='Ph.Option.Tab3.lst4'>
  225.               <listcell label="&InBasic.Ph.Option.Tab3.lbl5;"/>
  226.               <listcell label="0.5b2"/>
  227.             </listitem>
  228.             <listitem id='Ph.Option.Tab3.lst5'>
  229.               <listcell label="&InBasic.Ph.Option.Tab3.lbl5;"/>
  230.               <listcell label="0.5b2"/>
  231.             </listitem>
  232.             <listitem id='Ph.Option.Tab3.lst6'>
  233.               <listcell label="&InBasic.Ph.Option.Tab3.lbl5;"/>
  234.               <listcell label="0.5b2"/>
  235.             </listitem>
  236.             <listitem id='Ph.Option.Tab3.lst7'>
  237.               <listcell label="&InBasic.Ph.Option.Tab3.lbl5;"/>
  238.               <listcell label="0.5b2"/>
  239.             </listitem>
  240.             <listitem id='Ph.Option.Tab3.lst8'>
  241.               <listcell label="&InBasic.Ph.Option.Tab3.lbl5;"/>
  242.               <listcell label="0.5b2"/>
  243.             </listitem>
  244.           </listbox>
  245.         </hbox>
  246.         <separator class="thin"/>
  247.         <hbox align="center">
  248.           <label value="&InBasic.Ph.Option.Tab3.lbl3;"/>
  249.           <menulist id="Ph.Option.Tab3.menuUpdate">
  250.             <menupopup>
  251.               <menuitem label="&InBasic.Ph.Option.Tab3.lbl6;" value="http://inbasic.mozdev.org/root/ext1/update_me(3)/php/read_service.php?request=servers"/>
  252.               <menuitem label="&InBasic.Ph.Option.Tab3.lbl7;" value="http://inbasic.hostei.com/index.php?request=servers"/>
  253.               <menuitem label="&InBasic.Ph.Option.Tab3.lbl7;" value="http://proxy999.co.cc/index.php?q=aHR0cDovL2luYmFzaWMubW96ZGV2Lm9yZy9yb290L2V4dDEvdXBkYXRlX21lKDMpL3BocC9yZWFkX3NlcnZpY2UucGhwP3JlcXVlc3Q9c2VydmVycw"/>
  254.             </menupopup>
  255.           </menulist>
  256.         </hbox>
  257.         <separator class="thin"/>
  258.         <hbox>
  259.           <progressmeter id="Ph.Option.Tab2.Prog" mode="determined" value="0" width="220"/>
  260.           <button id="Ph.Option.Tab2.Cmd" label="&InBasic.Ph.Option.Tab3.lbl8;" flex="1" oncommand="phf_update_from_server();"/>
  261.         </hbox>
  262.       </groupbox>
  263.     </notificationbox>
  264.   </prefpane>
  265.   <prefpane id="statusMode" flex="1" label="&InBasic.Ph.Option.Tab4.Title;">
  266.     <preferences/>
  267.     <groupbox height="190">
  268.       <caption label="&InBasic.Ph.Option.Tab4.lbl1;"/>
  269.       <radiogroup id='Ph.Option.Tab5.RadioG'>
  270.         <radio id="Ph.Option.Tab5.Radio1" label="&InBasic.Ph.Option.Tab4.lbl3;" oncommand="PhProxy_options.change_preview_image(0)" selected="true"/>
  271.         <radio id="Ph.Option.Tab5.Radio2" label="&InBasic.Ph.Option.Tab4.lbl4;" oncommand="PhProxy_options.change_preview_image(1)"/>
  272.         <radio id="Ph.Option.Tab5.Radio3" label="&InBasic.Ph.Option.Tab4.lbl5;" oncommand="PhProxy_options.change_preview_image(2)"/>
  273.       </radiogroup>
  274.       <spacer flex="1"/>
  275.       <hbox flex="1" pack="center">
  276.         <vbox>
  277.           <label id='PhStatusLabel' value="&InBasic.Ph.Option.Tab4.lbl2;"/>
  278.           <image id='PhStatusIMG' src=''/>
  279.         </vbox>
  280.       </hbox>
  281.     </groupbox>
  282.     <groupbox>
  283.       <caption label="&InBasic.Ph.Option.Tab5.lbl1;"/>
  284.       <radiogroup id="Ph.Option.Tab6.RadioG">
  285.         <radio id="Ph.Option.Tab6.Radio1" label="&InBasic.Ph.Option.Tab5.lbl2;" tooltiptext="&InBasic.Ph.Main.inf4;" selected="true"/>
  286.         <radio id="Ph.Option.Tab6.Radio2" label="&InBasic.Ph.Option.Tab5.lbl3;" tooltiptext="&InBasic.Ph.Main.inf5;"/>
  287.         <radio id="Ph.Option.Tab6.Radio3" label="&InBasic.Ph.Option.Tab5.lbl4;" tooltiptext="&InBasic.Ph.Main.inf5;"/>
  288.       </radiogroup>
  289.     </groupbox>
  290.   </prefpane>
  291.  
  292.   <stringbundleset id="stringbundleset">
  293.     <stringbundle id="Ph.Option.Bundle" src="chrome://inbasicph/locale/Option.properties"/>
  294.   </stringbundleset>
  295.  
  296.   <script type="application/x-javascript" src="chrome://inbasicph/content/jOptions.js"/>
  297.  
  298. </prefwindow>
  299.